<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aether.Physics2D: Mat33 Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NugetLogo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aether.Physics2D
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Mat33 Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A 3-by-3 matrix. Stored in column-major order.  
 <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Mat33:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33__coll__graph.svg" width="188" height="248"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a73f844ff8e98087f115b59f5cf817206"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#a73f844ff8e98087f115b59f5cf817206">Mat33</a> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a> c1, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a> c2, <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a> c3)</td></tr>
<tr class="memdesc:a73f844ff8e98087f115b59f5cf817206"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct this matrix using columns.  <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#a73f844ff8e98087f115b59f5cf817206">More...</a><br /></td></tr>
<tr class="separator:a73f844ff8e98087f115b59f5cf817206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae57e5aca5db002545e4b9335c8d9dbfa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#ae57e5aca5db002545e4b9335c8d9dbfa">SetZero</a> ()</td></tr>
<tr class="memdesc:ae57e5aca5db002545e4b9335c8d9dbfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set this matrix to all zeros.  <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#ae57e5aca5db002545e4b9335c8d9dbfa">More...</a><br /></td></tr>
<tr class="separator:ae57e5aca5db002545e4b9335c8d9dbfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add375cede5e5460ecabe6559ae3c2efc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#add375cede5e5460ecabe6559ae3c2efc">Solve33</a> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a> b)</td></tr>
<tr class="memdesc:add375cede5e5460ecabe6559ae3c2efc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.  <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#add375cede5e5460ecabe6559ae3c2efc">More...</a><br /></td></tr>
<tr class="separator:add375cede5e5460ecabe6559ae3c2efc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583c1f34b94285a8b45b9b158e4f2a94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#a583c1f34b94285a8b45b9b158e4f2a94">Solve22</a> (<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> b)</td></tr>
<tr class="memdesc:a583c1f34b94285a8b45b9b158e4f2a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation.  <a href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#a583c1f34b94285a8b45b9b158e4f2a94">More...</a><br /></td></tr>
<tr class="separator:a583c1f34b94285a8b45b9b158e4f2a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8b9151d7dc81d7e39e1d14c5d642078"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#ac8b9151d7dc81d7e39e1d14c5d642078">GetInverse22</a> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html">Mat33</a> M)</td></tr>
<tr class="separator:ac8b9151d7dc81d7e39e1d14c5d642078"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a921d883cd4efb3c48437b945ebdf81ab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html#a921d883cd4efb3c48437b945ebdf81ab">GetSymInverse33</a> (ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html">Mat33</a> M)</td></tr>
<tr class="separator:a921d883cd4efb3c48437b945ebdf81ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ad5ecb32b4b6d73e3c5c32081ff584df9"><td class="memItemLeft" align="right" valign="top"><a id="ad5ecb32b4b6d73e3c5c32081ff584df9"></a>
<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ex</b></td></tr>
<tr class="separator:ad5ecb32b4b6d73e3c5c32081ff584df9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6deb3abc7486fb8ebf6da33a076f6692"><td class="memItemLeft" align="right" valign="top"><a id="a6deb3abc7486fb8ebf6da33a076f6692"></a>
<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ey</b></td></tr>
<tr class="separator:a6deb3abc7486fb8ebf6da33a076f6692"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e38148c9380e837496b090f12966892"><td class="memItemLeft" align="right" valign="top"><a id="a9e38148c9380e837496b090f12966892"></a>
<a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td><td class="memItemRight" valign="bottom"><b>ez</b></td></tr>
<tr class="separator:a9e38148c9380e837496b090f12966892"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A 3-by-3 matrix. Stored in column-major order. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a73f844ff8e98087f115b59f5cf817206"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73f844ff8e98087f115b59f5cf817206">&#9670;&nbsp;</a></span>Mat33()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html">Mat33</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>c2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>c3</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct this matrix using columns. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c1</td><td>The c1.</td></tr>
    <tr><td class="paramname">c2</td><td>The c2.</td></tr>
    <tr><td class="paramname">c3</td><td>The c3.</td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac8b9151d7dc81d7e39e1d14c5d642078"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8b9151d7dc81d7e39e1d14c5d642078">&#9670;&nbsp;</a></span>GetInverse22()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GetInverse22 </td>
          <td>(</td>
          <td class="paramtype">ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html">Mat33</a>&#160;</td>
          <td class="paramname"><em>M</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the inverse of this matrix as a 2-by-2. Returns the zero matrix if singular. </p>

</div>
</div>
<a id="a921d883cd4efb3c48437b945ebdf81ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a921d883cd4efb3c48437b945ebdf81ab">&#9670;&nbsp;</a></span>GetSymInverse33()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GetSymInverse33 </td>
          <td>(</td>
          <td class="paramtype">ref <a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html">Mat33</a>&#160;</td>
          <td class="paramname"><em>M</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the symmetric inverse of this matrix as a 3-by-3. Returns the zero matrix if singular. </p>

</div>
</div>
<a id="ae57e5aca5db002545e4b9335c8d9dbfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae57e5aca5db002545e4b9335c8d9dbfa">&#9670;&nbsp;</a></span>SetZero()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SetZero </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set this matrix to all zeros. </p>

</div>
</div>
<a id="a583c1f34b94285a8b45b9b158e4f2a94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a583c1f34b94285a8b45b9b158e4f2a94">&#9670;&nbsp;</a></span>Solve22()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a> Solve22 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector2.html">Vector2</a>&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>The b.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<a id="add375cede5e5460ecabe6559ae3c2efc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add375cede5e5460ecabe6559ae3c2efc">&#9670;&nbsp;</a></span>Solve33()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a> Solve33 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_vector3.html">Vector3</a>&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">b</td><td>The b.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>Physics2D/Common/Math.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenkast.html">nkast</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether.html">Aether</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d.html">Physics2D</a></li><li class="navelem"><a class="el" href="namespacenkast_1_1_aether_1_1_physics2_d_1_1_common.html">Common</a></li><li class="navelem"><a class="el" href="structnkast_1_1_aether_1_1_physics2_d_1_1_common_1_1_mat33.html">Mat33</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
